package com.atguigu.c_inherit;

public class Demo {

}


class Ye /*extends Object*/{

}

class Fu extends Ye{ //多层继承

}

//在子类上声明继承格式
class Zi extends Fu{ //单一继承

}
class Zai extends Fu{

}